package com.company.observer.listener;

import com.company.observer.mode.Result;

/**
 * @Author : hxma@easipass.com
 * @Date : 2021/5/11
 **/
public class McListener implements EvenListener{
    @Override
    public void doEvent(Result result) {
        System.out.println(result.getDate()+" ,给消息队列发送 " +result.getUserName()+" ，内容为：" + result.getMessage());
    }
}
